import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.nio.Buffer;

import com.sun.xml.internal.stream.buffer.stax.StreamReaderBufferCreator;

/**
 * @author daner
 * This is a test program. This class just print Hello World to console (StdOut). 
 */
public class TestProgram {

	/**
	 * @param args is a command line parameters
	 */
	public static void main(String[] args) {
		System.out.println("Hello World");
		System.out.print("What is your name (Как ваше имя?) > ");
		String name = "noname";
		BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
		try{
			name = r.readLine();
		}
		catch(Exception e)
		{
			System.err.println("Exception: "+e.getMessage());
		}
		System.out.println("Hellow, "+name+" this is a very cool and simple program");
	}

}
